package com.hqyj.am.service;

import com.hqyj.am.pojo.ResultVo;
import com.hqyj.am.pojo.User;
import com.hqyj.am.pojo.WorkNote;
import com.baomidou.mybatisplus.extension.service.IService;

import java.time.LocalDateTime;
import java.util.Date;

/**
 *  考情管理服务类
 *
 * @author rock
 * @since 2022-08-16
 */
public interface IWorkNoteService extends IService<WorkNote> {

    //员工签到
    public ResultVo addWorkTime(User user);

    //员工签退
    public ResultVo addQuitTime(User user);

    //比较是否是同一天
    public boolean isSameDay(LocalDateTime createTime, Date nowTime);

    //查询员工打卡记录
    public ResultVo selectAttendanceRecords(WorkNote workNote);
}
